//! # c14p00_crate
//!
//! c14p00_crate is a collection of utils
//! ...
/// 将传入的数字加1
///
/// # Examples
///
/// ```
/// let arg = 5;
/// let answer = c14p00_crate::add_one(arg);
///
/// assert_eq!(6, answer);
/// ```
/// # panic
/// This may cause a system panic
pub fn add_one(x: i32) -> i32 {
    x + 1
}

pub use self::kinds::PrimaryColor;
pub use self::kinds::SecondaryColor;
pub use self::utils::mix;

pub mod kinds{
    pub enum PrimaryColor{Red, Yellow, Blue}
    pub enum SecondaryColor{Orange, Green, Purple}
}
pub mod utils{
    use crate::kinds::{PrimaryColor, SecondaryColor};
    pub fn mix(c1: PrimaryColor, c2:PrimaryColor)->SecondaryColor{
        SecondaryColor::Green
    }
}

